#ifndef __omrect_h__
#define __omrect_h__

/* Forward Declarations */

struct ENUMDESC;

/* header files for imported files */
#include "types.h"

#ifndef __IHTMLRect_FWD_DEFINED__
#define __IHTMLRect_FWD_DEFINED__
typedef interface IHTMLRect IHTMLRect;
#endif     /* __IHTMLRect_FWD_DEFINED__ */

#ifndef __IHTMLRectCollection_FWD_DEFINED__
#define __IHTMLRectCollection_FWD_DEFINED__
typedef interface IHTMLRectCollection IHTMLRectCollection;
#endif     /* __IHTMLRectCollection_FWD_DEFINED__ */

#ifndef __IHTMLRect_INTERFACE_DEFINED__

#define __IHTMLRect_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLRect;


MIDL_INTERFACE("3050f4a3-98b5-11cf-bb82-00aa00bdce0b")
IHTMLRect : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE put_left(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_left(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_top(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_top(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_right(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_right(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_bottom(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_bottom(
         /* [out] */ long * p) = 0;

};

#endif     /* __IHTMLRect_INTERFACE_DEFINED__ */


#ifndef __IHTMLRectCollection_INTERFACE_DEFINED__

#define __IHTMLRectCollection_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLRectCollection;


MIDL_INTERFACE("3050f4a4-98b5-11cf-bb82-00aa00bdce0b")
IHTMLRectCollection : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE get_length(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get__newEnum(
         /* [out] */ IUnknown* * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE item(
            /* [in] */ VARIANT* pvarIndex,/* [out] */ VARIANT* pvarResult) = 0;

};

#endif     /* __IHTMLRectCollection_INTERFACE_DEFINED__ */


#ifndef _COMRect_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOMRectleft;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOMRecttop;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOMRectright;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOMRectbottom;

#endif

#ifndef _COMRectCollection_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOMRectCollectionlength;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOMRectCollection_newEnum;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOMRectCollectionitem;

#endif


#endif /*__omrect_h__*/

